package com.hutao.manage.util;

/**
 * pdf归档
 * @author yeyongli
 *
 */
public enum PdfPigeonholeEnum {
	//体温单
	temperatureRecord(1, "tiwen"), 
	//血糖测定
	bloodSugarRecord(2, "xuetcd"),
	//心电检测
	electrocardiogramRecord(3, "xindjc"),
	//生命体征观察
	visitSignRecord(4, "smtzgc"),
	//病重护理记录
	IllNurseRecord(5, "bingzhj"),
	//特别护理记录
	specialNurseRecord(6, "tebiehj"),
	//病危护理记录
	criticalCareRecord(7, "bingwhj"),
	//一般护理记录
	generalNurseRecord(8, "yibanhj");
	
	private Integer value;
	private String desc;
	
	PdfPigeonholeEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}
	
	public Integer getValue() {
		return value;
	}
	
	public String getDesc() {
		return desc;
	}
	

    public static PdfPigeonholeEnum valueOf(int value) {
        switch (value) {
            case 1:
                return temperatureRecord;
            case 2:
                return bloodSugarRecord;
            case 3:
                return electrocardiogramRecord;
            case 4:
                return visitSignRecord;
            case 5:
                return IllNurseRecord;
            case 6:
            	return specialNurseRecord;
            case 7:
            	return criticalCareRecord;
            case 8:
            	return generalNurseRecord;
        }
        throw new IllegalArgumentException("Cannot create evalue from value: " + value + "!");
    }
	
   

}








